package com.itheima.htmo_01.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.htmo_01.dto.QuestionsDTO;
import com.itheima.htmo_01.dto.QuestionsPageDTO;
import com.itheima.htmo_01.pojo.Questions;
import com.itheima.htmo_01.vo.QuestionsPageVO;

public interface QuestionsService extends IService<Questions> {

    void saveQuestion(QuestionsDTO questionsDTO);

    Page<QuestionsPageVO> getPage(QuestionsPageDTO questionsPageDTO);
}
